<html>
<head>
	<meta charset="UTF-8">
	<title>路由</title>
</head>
<body>
	<?php 
		$c=$_GET['c'];
		$m=$_GET['m'];
		$clsName=ucfirst($c).'Controller';//usfirst(把user首字母大写),并构建处类名

		require "Admin/Controller/$clsName.php";
		$ctrl=new $clsName();
		//var_dump($ctrl->$m());//view 层
		$ctrl->$m();
	 ?>
</body>
</html>